//
//  Factory.h
//  OC1_类和对象课后作业
//
//  Created by dllo on 15/10/22.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Factory : NSObject

{

    @public
    NSString *_name;
    NSInteger _number;

}

-(void)info;

-(void)fire;


-(NSString *)name;

-(void)setName:(NSString *)name;

-(NSInteger)number;

-(void)setNumber:(NSInteger)number;

-(id)initWithName:(NSString *)name number:(NSInteger)number;


+ (id)factoryWithName:(NSString *)name number:(NSInteger)number;





@end
